package com.foreveross.project.usercenterserver.oauth2.mapper;

import com.foreveross.project.usercenterserver.oauth2.domain.UcRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yz
 * @since 2019-07-22
 */
public interface UcRoleMapper extends BaseMapper<UcRole> {

    List<UcRole> findUserRoleByUserId(@Param("id")long id);

}
